package oa.hleast.xswl.service.activity;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.activity.CmsActivityTemplate;

import java.util.List;

public interface ICmsActivityTemplateService extends IService<CmsActivityTemplate> {
    boolean add(CmsActivityTemplate form);

    boolean update(CmsActivityTemplate form);

    Page<CmsActivityTemplate> pageList(Integer page, Integer limit, Long activityId, Integer display);

    boolean deleteByIds(List<String> asList);

    CmsActivityTemplate detail(Long id);

    CmsActivityTemplate detailByActivityId(Long activityId);

    CmsActivityTemplate getTemplateByActivityId(Long activityId);
}